package cn.jieruoda.eb.system.domain.entity;

import java.io.Serializable;
import java.util.Date;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;

import lombok.Data;

/**
 * 门店自提
 */
@Data
@Entity
@Table(name = "system_store")
public class SystemStore implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    
    /**
     * 门店名称
     */
    @Column(name = "name", nullable = false, length = 100)
    private String name;
    
    /**
     * 简介
     */
    @Column(name = "introduction", nullable = false, length = 1000)
    private String introduction;
    
    /**
     * 手机号码
     */
    @Column(name = "phone", nullable = false, length = 25)
    private String phone;
    
    /**
     * 省市区
     */
    @Column(name = "address", nullable = false, length = 255)
    private String address;
    
    /**
     * 详细地址
     */
    @Column(name = "detailed_address", nullable = false, length = 255)
    private String detailedAddress;
    
    /**
     * 门店logo
     */
    @Column(name = "image", nullable = false, length = 255)
    private String image;
    
    /**
     * 纬度
     */
    @Column(name = "latitude", nullable = false, length = 25)
    private String latitude;
    
    /**
     * 经度
     */
    @Column(name = "longitude", nullable = false, length = 25)
    private String longitude;
    
    /**
     * 核销有效日期
     */
    @Column(name = "valid_time", nullable = false, length = 100)
    private String validTime;
    
    /**
     * 每日营业开关时间
     */
    @Column(name = "day_time", nullable = false, length = 100)
    private String dayTime;
    
    /**
     * 是否显示
     */
    @Column(name = "is_show", nullable = false)
    private Integer isShow;
    
    /**
     * 是否删除
     */
    @Column(name = "is_del", nullable = false)
    private Integer isDel;
    
    /**
     * 添加时间
     */
    @Column(name = "create_time", nullable = false)
    private Date createTime;
    
    /**
     * 更新时间
     */
    @Column(name = "update_time", nullable = false)
    private Date updateTime;
} 